package com.sskj.gcc.ui.fragment;

import com.sskj.common.util.ToastUtil;
import com.sskj.gcc.bean.game.GameActiveBean;
import com.sskj.gcc.bean.game.GameCommunitiesListBean;
import com.sskj.gcc.bean.game.GameExchangeParametersBean;
import com.sskj.gcc.bean.game.GameGetFoodBean;
import com.sskj.gcc.bean.game.GameIndexBean;
import com.sskj.gcc.bean.game.GameNotificationBean;
import com.sskj.gcc.bean.game.GamePackgaeBean;
import com.sskj.gcc.presenter.game.GameFragmentPresenter;
import com.sskj.gocoin.m.bean.UserInfo;
import com.sskj.lib.base.BaseFragment;

import java.util.List;


public abstract class GameBaseFragment extends BaseFragment<GameFragmentPresenter> {

    @Override
    public GameFragmentPresenter getPresenter() {
        return new GameFragmentPresenter();
    }

    @Override
    public void initView() {

    }

    public void onGetRedynamicSuccess(GameActiveBean gameActiveBean) {

    }

    public void onGameIndexSuccess(GameIndexBean data) {

    }

    public void onError(String msg) {
        ToastUtil.showShort(msg);
    }

    public void onEatFeedOffSuccess(String msg) {

    }

    public void onGetExchangeParametersSuccess(GameExchangeParametersBean gameExchangeParametersBean) {

    }

    public void onGetPeacockListSuccess(GamePackgaeBean msg) {

    }

    public void onGetEggsSuccess(String msg) {

    }

    public void requestUserInfoSuccess(UserInfo data) {

    }

    public void onCommitExchangeSuccess(String msg) {

    }

    public void getCommunitiesListSuccess(List<GameCommunitiesListBean> listBeans) {

    }

    public void placeOrderSuccess(String msg) {

    }

    public void getSystemPostsListSuccess(GameNotificationBean data) {

    }

    public void getTaskListSuccess(GameGetFoodBean data) {

    }

    public void getTaskSuccess(String data) {

    }
}
